﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Zero.UControl.Demo.Views.Model3D
{
    /// <summary>
    /// _3DWindow.xaml 的交互逻辑
    /// </summary>
    public partial class Model3DWindow : Window
    {
        public Model3DWindow()
        {
            InitializeComponent();
            Loaded += Model3DWindow_Loaded;
        }

        private void Model3DWindow_Loaded(object sender, RoutedEventArgs e)
        {
            viewPort.RotateGesture = new MouseGesture(MouseAction.LeftClick);
            viewPort.PanGesture = new MouseGesture(MouseAction.LeftClick, ModifierKeys.Control);
            viewPort.ZoomGesture = new MouseGesture(MouseAction.LeftClick, ModifierKeys.Shift);

        }
    }
}
